package com.youzheng.serviceImpl;

import com.youzheng.entity.Type;
import com.youzheng.mapper.TypeMapper;
import com.youzheng.service.ITypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TypeServiceImpl implements ITypeService {
    @Resource
    private TypeMapper mapper;
    @Override
    public List<Type> findAllTypes(){
        return mapper.findAllTypes();

    }
}
